package Day03;

public class OperDemo1 {
    public static void main(String[] args) {
        //  %
        /*
        System.out.println(5%2);
        System.out.println(2%5);
        System.out.println(8%2);
        System.out.println(0%5);
        */
        int a = 5;
        a++;
        System.out.println(a);

        int b = 6;
        int c = 7;
        int d = b++;
        int e = ++c;
        System.out.println(b);
        System.out.println(e);


        int i = 6;
        int j = 7;
        int f = i--;
        int g = --j;
        System.out.println(f);
        System.out.println(g);

        int h = 5;
        h--;
        System.out.println(h);


    }
}
